package modele;

public class Lien
{
	
	float	stdDis;
	Noeud	dest;
	private Noeud	src;
	float vx,vy;

	public Lien(float stdDis, Noeud src , Noeud dest )
	{
		this.stdDis = stdDis;
		this.dest = dest;
		this.src = src;
		
		vx = dest.pos.x - dest.pos.x;
		vy = dest.pos.y - dest.pos.y;
	}

	public String toString()
	{
		return src + " -> " + dest;
	}
}
